#include <QtGui/QApplication>
#include "mainwindow.h"
#include "simplechatserver.h"

static const quint16 DEFAULT_PORT = 6667;

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);

    SimpleChatServer server;
    server.listen(QHostAddress::Any, DEFAULT_PORT);
    qDebug() << "start\n";

    MainWindow w;
    w.show();
    return a.exec();
}
